
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
    <title>可用可信家庭市场</title>
    <!--                       CSS                       -->
    <!-- Reset Stylesheet -->
    <link rel="stylesheet" href="/static/css/reset.css" type="text/css" media="screen" />
    <!-- Main Stylesheet -->
    <link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen" />
    <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
    <link rel="stylesheet" href="/static/css/invalid.css" type="text/css" media="screen" />
    <!--                       Javascripts                       -->
    <!-- jQuery -->
    <script type="text/javascript" src="/static/scripts/jquery-1.3.2.min.js"></script>
    <!-- jQuery Configuration -->
    <script type="text/javascript" src="/static/scripts/simpla.jquery.configuration.js"></script>
    <!-- Facebox jQuery Plugin -->
    <script type="text/javascript" src="/static/scripts/facebox.js"></script>
    <!-- jQuery WYSIWYG Plugin -->
    <script type="text/javascript" src="/static/scripts/jquery.wysiwyg.js"></script>
    <!-- jQuery Datepicker Plugin -->
    <script type="text/javascript" src="/static/scripts/jquery.datePicker.js"></script>
    <script type="text/javascript" src="/static/scripts/jquery.date.js"></script>
    <!-- jQuery -->
   
    <link rel="stylesheet" type="text/css" media="all" href="/static/css/motai.css">
    <script type="text/javascript" charset="utf-8" src="/static/js/jquery.leanModal.min.js"></script>
    <style>
        body{
            font-family:微软雅黑;
        }
        #cgmain {width:800px;background-color:#fce0ee;text-align:center;}
        #cgmain .cgdiv {margin-bottom:0px;}

        .table-b {width:780px;
            border-width: 1px;
            border-color: #a9c6c9;
            border-collapse: collapse;margin-left:10px;font-size:15px;}

        .table-b th{
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #8F8F8F;
        }
        .table-b td{
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #8F8F8F;
        }


    </style>
</head>
<body>
<div id="body-wrapper">
    <!-- Wrapper for the radial gradient background -->
    <div id="sidebar">
        <div id="sidebar-wrapper">

            <div id="profile-links">
                <!-- Logo (221px wide) -->
                <a href="#"><img id="logo" src="/static/images/logo.png" alt="Simpla Admin logo" /></a>

                {$_COOKIE['user_name']},你好 <br/>
                | <a href="/index.php/index/index/uexit" title="Sign Out">退出</a> </div>

            <ul id="main-nav">
                <!-- Accordion Menu -->
                <!--<li> <a href="#/" class="nav-top-item no-submenu">-->
                    <!--&lt;!&ndash; Add the class "no-submenu" to menu items with no sub menu &ndash;&gt;-->
                    <!--Dashboard </a> </li>-->
                {if condition="!empty($powers['order_action'])"}
                <li> <a href="#" class="nav-top-item current"> 订单操作</a>
                    <ul>
                    	
                        <li><a class="current" href="/index.php/index/index/neworder_list">新订单</a></li>
                        <!-- Add class "current" to sub menu items also -->
                        <li><a href="/index.php/index/index/addorder">创建新订单</a></li>
                        <li><a href="/index.php/index/index/allorder_list">所有订单</a></li>
                    </ul>
                </li>
           	{/if}
           	 {if condition="!empty($powers['cg_action'])"}
                <li> <a href="#" class="nav-top-item"> 采购单 </a>
                    <ul>
                        <li><a href="/index.php/index/index/newcg_list">待处理 采购单</a></li>
                        <li><a href="/index.php/index/index/cg_history">采购单历史</a></li>
                    </ul>
                </li>
             {/if}
              {if condition="!empty($powers['table_action'])"}
                <li> <a href="#" class="nav-top-item"> 报表 </a>
                    <ul>
                        <li><a href="/index.php/index/biao/daybiao">日报表</a></li>
                        <li><a href="/index.php/index/biao/yuebiao">月报表</a></li>
                        <li><a href="/index.php/index/biao/nianbiao">年报表</a></li>
                    </ul>
                </li>
               {/if}
                {if condition="!empty($powers['goods_action'])"}
                <li> <a href="#" class="nav-top-item">菜品管理 </a>
                    <ul>
                        <li><a href="/index.php/index/goods/goods">所有菜品</a></li>
                        <li><a href="/index.php/index/goods/categorys">所有分类</a></li>
                    </ul>
                </li>
                {/if}
                 {if condition="!empty($powers['promotion_action'])"}
                 <li> <a href="#" class="nav-top-item"> 推广活动 </a>
                    <ul>
                        <li><a href="/index.php/index/promotion/snlist">SN优惠码</a></li>
                    </ul>
                </li>
                {/if}
                
                <li> <a href="#" class="nav-top-item"> 个人信息 </a>
                    <ul>
                        <li><a href="/index.php/index/index/user_info">查看信息</a></li>
                        <li><a href="/index.php/index/index/update_pass">修改密码</a></li>
                    </ul>
                </li>
       
                {if condition="!empty($powers['super'])"}
                 <li><a href="#" class="nav-top-item"> 用户管理 </a>
                 	<ul>
                        <li><a href="/index.php/index/admin/user_admin">用户权限</a></li>
                    </ul>
                 </li>
                {/if}

            </ul>
            <!-- End #main-nav -->

        </div>
    </div>
    <!-- End #sidebar -->
    <div id="main-content">
        <!-- Main Content Section with everything -->


       
        <!-- End .shortcut-buttons-set -->
        <div class="clear"></div>
        <!-- End .clear -->
        <h4 style="font-family: 微软雅黑"></h4>
        <div class="content-box">

            <!-- Start Content Box -->
            <div class="content-box-header"><br/>
                <h4><a href="javascript:history.back()" ><<返回</a>&nbsp;&nbsp;修改配送单</h4>
            </div>
            <!-- End .content-box-header -->
            <div class="content-box-content"style="height:700px;">
                    <div  style="width:800px;">
                            <div style="float:left;">
                        <form action="/index.php/index/index/select_psy2" method="post">
                        	<input type="hidden" name="dayin" value="{$dayin}" />
                            <input type="hidden" name="order_id" value="{$order_id}" />
                            {if condition="!empty($duser)"}
                            该订单已指定了派送员：
                            <font style="color:red">{$duser.name}</font><br /><br/>
                            <label for="doc-select-1">重新指定派送员：</label>
                            {else /}
                            <label for="doc-select-1">指定派送员：</label>
                            {/if}
                            <select id="doc-select-1" name="uid">
                                <option value="0" selected>    </option>
                                {volist name="deliver_list" id="u" }
                                <option value="{$u.uid}">{$u.name}</option>

                                {/volist}
                            </select>
                            <br />
                            <br />
                            <button type="submit" class="button medium back">提交</button>
                        </form>
                            </div>
                    <div style="float:left;margin-left:200px;">
                    <h5>今天配送员已接订单数：</h5>

                    <table class="table1" style="font-size:15px; width:300px;line-height:30px;">
                        <thead>
                        <tr>
                            <th width="80">姓名</th>
                            <th width="30">订单数</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="counts" id="c" }

                        <tr>

                            <td>{$c.name} &nbsp;</td>
                            <td class="center">
                            	{if condition="!empty($c.count)"}
                            		{$c.count}
                            	{else/} 0
                            	{/if}
                            	 &nbsp;单
                            </td>


                        </tr>



                        {/volist}
                        </tbody>
                    </table>
                    </div>
                </div>
        </div>
        <!-- End .content-box-content -->
    </div>
    <!-- End .content-box -->



</div>
<!-- End #main-content -->
</div>

<script>
  function reids(array $vo){
$("#reids").html(id);
$("#reids2").val(id);

}


</script>
</body>
</html>